<?php
use yii\helpers\Html;
use yii\grid\GridView;

/* @var $this yii\web\View */
/* @var $searchModel common\modules\mapp\backend\models\search\MappErrorLogSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = 'Mapp Error Logs';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="mapp-error-log-index">

    <?php // echo $this->render('_search', ['model' => $searchModel]); ?>

    <p>
        <?= Html::a('Create Mapp Error Log', ['create'], ['class' => 'btn btn-success'])?>
    </p>

    <?=GridView::widget([
        'dataProvider' => $dataProvider,
        'filterModel' => $searchModel,
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],
            'id',
            'app_id',
            'device_id',
            'version_major',
            'version_mini',
            // 'title',
            // 'message:ntext',
            // 'created_at',
            ['class' => 'yii\grid\ActionColumn']
        ]]);?>

</div>
